import { ApiProperty } from '@midwayjs/swagger'

/**
 * 登录信息结果
 */
export class LoginInfoVO implements ISysLoginInfoEntity {
  @ApiProperty({ description: '主键' })
  infoId: string

  @ApiProperty({ description: '用户账号' })
  userName: string

  @ApiProperty({ description: '登录IP' })
  loginIp: string

  @ApiProperty({ description: '登录地点' })
  loginLocation: string

  @ApiProperty({ description: '浏览器类型' })
  browser: string

  @ApiProperty({ description: '操作系统' })
  os: string

  @ApiProperty({ description: '登录状态' })
  status: string

  @ApiProperty({ description: '提示消息' })
  msg: string

  @ApiProperty({ description: '登录时间' })
  loginDate: Date
}
